<script>
	import {
		systemInfo,
		prohibitDebug,
		getPosition
	} from "@/utils/util.js"
	// import {
	// 	mini,
	// 	verifyUploadBlock,
	// 	miniCalculateDueQuantity
	// } from "@/mining/index.js";
	import {mapActions} from 'vuex';
	// #ifdef APP-PLUS
	import APPUpdate from '@/uni_modules/zhouWei-APPUpdate/js_sdk/appUpdate';
	// #endif
	export default {
		data: {},
		methods: {
			...mapActions(["setUserInfo_action","setReviewVersion_action"]),
			//开启
			// openMini(action = false) {
			// 	mini(action)
			// },
			//验证
			// async verifyBlock(){
			// 	let data = await verifyUploadBlock();
			// 	return data;
			// }
		},
		computed: {},
		onLaunch: async function() {
			this.openMini();
			this.setUserInfo_action();
			this.setReviewVersion_action();
			await getPosition();
			// #ifdef APP-PLUS
				APPUpdate();
			// #endif
		},
		onShow: function() {
			// miniCalculateDueQuantity()
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},

	}
</script>

<style>
	@import "./static/css/common.css";
	@import "./static/css/icons.css";
</style>
